<template>
    <div style="padding: 20px">
        <el-row :gutter="20">
            <el-col :span="6" :xs="24">
                <user-card/>
            </el-col>
            <el-col :span="18" :xs="24">
                <el-card>
                    <el-tabs v-model="activeTab">
                        <el-tab-pane label="最近登录" name="login_log">
                            <timeline/>
                        </el-tab-pane>
                    </el-tabs>
                </el-card>
            </el-col>
        </el-row>
    </div>
</template>

<script lang="ts">
    import {Component} from 'vue-property-decorator'
    import Timeline from "@/views/system/user/user-info/LoginTimeline.vue";
    import UserCard from "@/views/system/user/user-info/UserCard.vue";
    import {mixins} from "vue-class-component";
    import BaseVue from "@/core/mixin/BaseVue";
    import Kit from "@/core/mixin/Kit";

    @Component({
        name: 'UserDetails',
        components: {
            Timeline,
            UserCard
        }
    })
    export default class UserDetails extends mixins(BaseVue, Kit) {
        private activeTab = 'login_log'

        created() {
        }

    }
</script>
